*{
    margin: 0;
    padding: 0;
}
/* 加入购物车 */
.cart-wrapper{
    margin-left: 150px;
    margin-top: 30px;
}
.cart-wrapper button{
    width: 100px;
    height: 40px;
    border: none;
    outline: none;
    text-align: center;
    line-height: 40px;
    color: white;
}
.cart-wrapper .look-cart{
    background-color: rgb(207, 133, 133);
    border-radius: 10px;
}
.cart-wrapper .add-cart{
    background-color: rgb(219, 171, 119);
    border-radius: 10px;
}
.cart-wrapper button:hover{
    cursor: pointer;
}
.back-home{
    text-decoration: none;
    font-size: 28px;
}


/* 中间 */
.mid{
    position: absolute;
    margin-left: 400px;

}
.mid span{
    font-size: 18px;
}
.mid p{
    background: rgb(185, 78, 78);
    padding: 10px;
    margin-top: 40px;
    width: 140px;
    height: 60px;
    font-size: 40px;
}



/* 商家信息 */
.container .right{
    position: absolute;
    margin-left: 1000px;
    width: 300px;
    height: 400px;
    border: 3px solid yellow;
    background:linear-gradient(yellow,rgb(251, 251, 250));
}
.container .right .inf{
   margin-left: 120px;
}
.container .right span{
    font-size: 14px;
}
.container .right .serve{
    margin-top: 5px;
    display: block;
    text-align: center;
}
.container .right .num{
    margin-left: 90px;
}
.container .right .num span{
    padding-left: 10px;
}



/* 头部 */

#head{
    width: 100%;
    height: 200px;
    background: #f0f5f9;
}
#head img{
    margin-top: 10px;
    height: 100px;
    margin-left: 100px;
}

#head .nodrop{
    background: skyblue;
    width: 100px;
    margin-left: 98px;
    margin-top: 2px;
    display: block;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
}
#head .right{
    margin-top: -80px;
}
#head .right input:nth-child(1){
    margin-left: 400px;
    width: 500px;
    height: 50px;
    border-radius: 20px;
    border: none;
}
#head .right input:nth-child(2){
    margin-left: -104px;
    width: 100px;
    height: 50px;
    border-radius: 20px;
    background: #8cb1c7;
    border: none;
}
#head .right .all{
    margin-left: 940px;
    height: 100px;
    width: 300px;
    margin-top: -70px;
    display: flex;
  
}
#head .right .all div{
    display: flex;
    flex-direction: column;
    width: 80px;
    justify-content: space-around;
}
#head .right .all span:nth-child(2n-1){
    font-size: 40px;
}
#head .right .all span:nth-child(2n){
    margin-left: -20px;
    top:60px;
}
#head .headimg{
    display: inline-block;
    margin-left: 1150px;
    margin-top: -110px;
}
#head .headimg span{
    display: block;
    margin-left: 90px;
}

#head .headimg img{
    border: 2px solid steelblue;
    border-radius: 50px;
    width: 80px;
    height: 80px;

}


/* 导航 */
li{
    list-style-type: none;
}
#nav {
    width: 100%;
    height: 45px;
    background-color: #445f83;
}
#nav ul{
    margin-left: 280px;
}
#nav li{
    float: left;
    width: 150px;
    line-height:39px;
    text-align: center;
    position:relative;
    border:none;
}

#nav li a {
    font-size:16px; color: #F4F4F4;
    display:block;
    outline:0;
    text-decoration:none; 
}
#nav li:hover a {
    color: #7ab8ff; /*导航栏文字颜色 */
}
#nav li:hover .dropdown_1column {
    left:0px;
    top:38px;
}
.dropdown_1column{ /* 下拉菜单边框颜色*/
    margin: 0px auto;
    float: left;
    position: absolute;
    left: -999em;
    text-align: left;
    border: 1px solid #98adbf;
    border-top: none;
    background: #e0eaf1;
    width: 92px;
    z-index: 99;
}
#nav li:hover div a { /* 下拉菜单文字颜色*/
font-size:12px
;color:rgb(82, 47, 28);
}

#nav li:hover div a:hover{color:#0a1827;} /*下拉带单鼠标停留颜色*/

#nav li ul {
list-style:none;
padding:10px 5px;
margin:0;
}
#nav li ul li {
font-size:12px;
line-height:26px;
position:relative;
padding:0;margin:0;
float:none;
text-align:left;
width:130px;
}
#nav li ul li:hover {
background:none;
border:none;padding:0;
margin:0;
}


/* 放大镜 */
ul,li{list-style: none;}

.glass-wrapper .container{
    position: relative;
    margin-top: 50px;
    margin-left: 100px;
    display: flex;
}

.glass-wrapper .container .m-left{
    position: relative;
    width: 350px;
    height: 350px;
}
.glass-wrapper .container .m-left img{
    width: 100%;
    height: 100%;
}
.glass-wrapper  .container .m-left ol{
    position: relative;
    width: 100%;
    height: 100%;
}
.glass-wrapper  .container .m-left ol li{
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}
.glass-wrapper  .container .m-left ol .on{
    display: block;
}
.glass-wrapper  .container .m-left .mask{
    width: 200px;
    height: 200px;
    background-color: rgba(219, 219, 109, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
}
.glass-wrapper  .container ul{
    display: flex;
    justify-content:space-around;
}
.glass-wrapper  .container ul li img{
    width: 80px;
    height: 80px;
}
.glass-wrapper .container ul .active{
    border: 1px solid red;
}

.glass-wrapper  .container .right-wraper{
    position: relative;
    width: 400px;
    height: 400px;
    /* border: 2px solid gray; */
    overflow: hidden;
    margin-left: 20px;
    display: none;
}
.glass-wrapper  .container .right-wraper img{
    position: absolute;
    left: 0;
    top: 0;
}